package cn.wolfcode.car;

import org.activiti.engine.RepositoryService;
import org.activiti.engine.repository.Deployment;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

public class MyTest {
    @Autowired
    private RepositoryService repositoryService;

    @Test
    public void test1() {
        /**
         *  部署流程图
         */
        // 进行部署操作
        System.out.println(repositoryService);
        System.out.println(1);
//        Deployment deploy = repositoryService.createDeployment()
//                .addClasspathResource("bpmn/leave.bpmn")  //部署流程bpmn文件
//                .deploy();
    }
}
